<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>鼠标触发事件</title>
    <script type="text/javascript">
        function method01(element){
            element.stop();
        }
        function method02(element){
            element.start();
        }
    </script>
</head>
<body>
<marquee onmouseover="method01(this)" onmouseout="method02(this)"><font color="aqua">优雅是一种美丽，是宠辱不惊，去留无意，的淡然。</font></marquee>
</body>
</html>